<%--
  Created by IntelliJ IDEA.
  User: 86158
  Date: 2020/7/29
  Time: 15:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>Application</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../layui/css/layui.css" media="all">
    <!--注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的-->
    <style>
        .client-input {
            width: 80%;
        }

        #save-client {
            margin-top: 15px;
        }
    </style>
</head>
<body>

<form id="save-client" class="layui-form" lay-filter="example">
    <div class="layui-form-item">
        <label class="layui-form-label">应用AID</label>
        <div class="layui-input-block">
            <input type="text" name="aid" required  lay-verify="required" placeholder="请输入应用id" autocomplete="off"
                value="${application.aid}"   class="layui-input" readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">企业名称</label>
        <div class="layui-input-block">
            <input type="text"  value="${application.acorpName}" name="acorpName" required  lay-verify="required" placeholder="请输入企业名称" readonly autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">应用名称</label>
        <div class="layui-input-block">
            <input  value="${application.aappName}" type="text" name="aappName" required  lay-verify="required" placeholder="请输入应用名称" readonly autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">应用唯一标示</label>
        <div class="layui-input-block">
            <input value="${application.aappKey}" type="text" name="aappKey" required  lay-verify="required" placeholder="请输入应用唯一标示" readonly autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">应用签名秘钥</label>
        <div class="layui-input-block">
            <input type="text" value="${application.aAppSecret}"  name="aAppSecret" required  lay-verify="required" placeholder="请输入应用签名秘钥" readonly autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">应用回调用URL</label>
        <div class="layui-input-inline">
            <input type="text" value="${application.aredirectUrl}" name="aredirectUrl" required lay-verify="required" placeholder="应用回调用URL" readonly autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">免费接口日调用次数</label>
        <div class="layui-input-block">
            <input type="text"  value="${application.alint}"name="alint" required  lay-verify="money" placeholder="请输入免费接口日调用次数" readonly autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">应用介绍</label>
        <div class="layui-input-block">
            <input type="text" name="adescription" required  lay-verify="required"
                   lay-reqText="应用介绍不能为空。"
                   value="${application.adescription}"    readonly     placeholder="请输入应用介绍" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">管理客户id</label>
        <div class="layui-input-block">
            <input type="text" value="${application.acusid}" name="acusid" required  readonly  lay-verify="money" placeholder="管理客户id" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="radio" value="${application.astate}" readonly name="astate" value="1" title="正常">
            <input type="radio"  value="${application.astate}"readonly name="astate" value="0" title="停用" checked="">
        </div>
    </div>
</form>

<script src="https://cdn.bootcdn.net/ajax/libs/layui/2.5.6/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<%--<script>--%>
<%--    layui.use(['form', 'jquery', 'layer'], function () {--%>
<%--        var form = layui.form--%>
<%--            , $ = layui.jquery--%>
<%--            , layer = layui.layer--%>

<%--        var url = window.location.href--%>
<%--        var id = url.substring(35);--%>

<%--        //表单赋值--%>
<%--        $.get("/BYSSM_war_exploded/selectById" + cid, function (obj) {--%>
<%--            form.val('example', obj);--%>
<%--        })--%>

<%--    });--%>
<%--</script>--%>

</body>
</html>
